﻿using rbac.domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace rbac.domain.Interface
{
    public interface IRoleRepository
    {


        List<Role> SearchRoles(string roleName);

        IQueryable<Role> Roles();

        int Add(Role entity);
        int Update(Role entity);

        int Delete(int loginUserId,params int[] idlist);


    }
}
